projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3b07f
)
(BCOPY_SHORT): Source pointer now points to const.
author
Ken Raeburn
<raeburn@raeburn.org>
Fri, 19 Jul 2002 14:26:53 +0000
(14:26 +0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Fri, 19 Jul 2002 14:26:53 +0000
(14:26 +0000)
src/charset.h
patch
|
blob
|
history
diff --git
a/src/charset.h
b/src/charset.h
index 58e8f3dfb9d73b46b6bbabb4be1fce8441bb5752..2b58f88f84042f553cb84be94b8bcf8f46a2b202 100644
(file)
--- a/
src/charset.h
+++ b/
src/charset.h
@@
-826,7
+826,8
@@
extern Lisp_Object Vauto_fill_chars;
#define BCOPY_SHORT(from, to, len) \
do { \
int i = len; \
- unsigned char *from_p = from, *to_p = to; \
+ const unsigned char *from_p = from; \
+ unsigned char *to_p = to; \
while (i--) *to_p++ = *from_p++; \
} while (0)